projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e38953
)
(display_text_line): Use INC_BOTH for unibyte buffers too.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 14 Feb 1998 07:27:58 +0000
(07:27 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 14 Feb 1998 07:27:58 +0000
(07:27 +0000)
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 399cd0ebae2195a0422c252da293c6e1ff2c4fe7..3f4f3099057e0e7fe937897c3029b306e66c2fc2 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-3569,10
+3569,7
@@
display_text_line (w, start, start_byte, vpos, hpos, taboffset, ovstr_done)
int opoint = PT, opoint_byte = PT_BYTE;
invis = 1;
- if (! NILP (current_buffer->enable_multibyte_characters))
- INC_BOTH (pos, pos_byte);
- else
- pos++, pos_byte++;
+ INC_BOTH (pos, pos_byte);
scan_newline (pos, pos_byte, ZV, ZV_BYTE, 1, 1);
if (FETCH_BYTE (pos_byte - 1) == '\n')
{